With the switch in the up position, the opamp output linearly ramps in a negative-going direction over time. With the switch in the down position, the opamp output linearly ramps in a positive-going direction over time.